package gui;

import java.util.LinkedList;

public class MyOrdersList {

	private LinkedList<Order> myOrders;

	public MyOrdersList() {
		myOrders = new LinkedList();

		myOrders.add(Order.createBuyOrder("Cesar", "fefw", 10, 2));
		myOrders.add(Order.createBuyOrder("jorge", "ewfe", 20, 2));
		myOrders.add(Order.createBuyOrder("andre", "vvv", 110, 2));
		myOrders.add(Order.createBuyOrder("Carlos", "gay", 69, 2));
	}

	public Order getOrder(int orderIndex) {
		return myOrders.get(orderIndex);
	}

	public int getLength(){
		return myOrders.size();
	}
	
	
}
